#include<iostream>

using namespace std;
int i,a[10];
int main()
{ 
 a[0]=1;
 a[1]=1;
for(i=2;i<20;i++)
   a[i]=a[i-1]+a[i-2];
cout<<"Afisarea sirului fibonacci: ";
for(i=0;i<20;i++)
  cout<<a[i]<<" ";

return 0;

}
